package cn.com.ustudy.course.core.model.entity;

import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.graphql.annos.GraphqlType;
import cn.melonlib.graphql.annos.GraphqlTypeDeclare;
import cn.melonlib.graphql.model.enums.GraphqlTypeMode;
import lombok.Data;

@Data
@GraphqlType(comment = "用户信息",declares = {@GraphqlTypeDeclare(name = "Post",mode = GraphqlTypeMode.VIEW),@GraphqlTypeDeclare(name = "PostInput",mode = GraphqlTypeMode.INPUT)})
public class Post extends StringIdEntity {

    private String code;

    private String name;

    private Long index;


}
